<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" th:attr="content=${keywords}" />
<meta name="Description" th:attr="content=${description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title></title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link th:href="${ecs_css_path}" rel="stylesheet" type="text/css" />

<!-- auto replace start-->
<script type="text/javascript" src="/static/js/common.js"></script>
<!-- auto replace end-->
<script type="text/javascript" src="/static/js/action.js"></script>
<script type="text/javascript" src="/static/js/mzp-packed-me.js"></script>
<script type="text/javascript">
function $id(element)
{
  return document.getElementById(element);
}
//切屏--是按钮，_v是内容平台，_h是内容库
function reg(str)
{
  var bt=$id(str+"_b").getElementsByTagName("h2");

  for(var i=0;i<bt.length;i++)
  {
    bt[i].subj=str;
    bt[i].pai=i;
    bt[i].style.cursor="pointer";

    bt[i].onclick=function()
    {
      $id(this.subj+"_v").innerHTML=$id(this.subj+"_h").getElementsByTagName("blockquote")[this.pai].innerHTML;

      for(var j=0;j<$id(this.subj+"_b").getElementsByTagName("h2").length;j++)
      {
        var _bt=$id(this.subj+"_b").getElementsByTagName("h2")[j];
        var ison=j==this.pai;
        _bt.className=(ison?"":"h2bg");
      }
    }
  }

  $id(str+"_h").className="none";
  $id(str+"_v").innerHTML=$id(str+"_h").getElementsByTagName("blockquote")[0].innerHTML;
}

</script>

</head>
<body>
<div th:replace="common/tpls/page_header_tpl::page_header"></div>

    <div th:replace="common/tpls/ur_here_tpl::ur_here"></div>


<div class="block clearfix">
  <!--left start-->
  <div class="AreaL">
  <!-- TemplateBeginEditable name="左边区域" -->
  <div th:replace="common/tpls/category_tree_tpl::category_tree"></div>
  <!-- TemplateEndEditable -->
  <!-- TemplateBeginEditable name="左边广告区域（宽200px）" -->
  <!-- TemplateEndEditable -->
  <!--AD end-->
  <div th:replace="common/tpls/history_tpl::history"></div>
  </div>
  <!--left end-->

  <!--right start-->
  <div class="AreaR">
    <!--商品详情start-->
    <div id="goodsInfo" class="clearfix">
      <!--商品图片和相册 start-->
      <div class="imgInfo">
     <a th:href="${pictures.0.img_url}" id="zoom1" class="MagicZoom MagicThumb" th:attr="title=${goods.goods_style_name}">
      <img th:src="${goods.goods_img}" th:attr="alt=${goods.goods_name}" width="360px;" height="360px"/>
     </a>
     <div class="blank5"></div>
    <div style="text-align:center; position:relative; width:100%;">
         {if $prev_good}
      <a th:href="${prev_good.url}"><img style="position: absolute; left:0;" alt="prev" src="./images/up.gif" /></a>
      {/if}
      <a href="javascript:;" onclick="window.open('gallery.php?id='); return false;"><img alt="zoom" src="./images/zoom.gif" /></a>
      {if $next_good}
      <a th:href="${next_good.url}"><img style="position: absolute;right:0;"  alt="next" src="./images/down.gif" /></a>
      {/if}
      </div>
      
 
         <div class="blank"></div>
           <!--相册 START-->
     <div th:replace="common/tpls/goods_gallery_tpl::goods_gallery"></div>
     <!--相册 END-->
         <!-- TemplateBeginEditable name="商品相册下广告（宽230px）" -->
<!-- TemplateEndEditable -->
     </div>
      <!--商品图片和相册 end-->

      <div class="textInfo">
      <form action="exchange.php?act=buy" method="post" name="ECS_FORMBUY" id="ECS_FORMBUY" >
              <div class="clearfix">
        <p ></p>
       
                </div>

        <ul>
          <!-- {if $cfg.show_goodssn} 显示商品货号-->
          <li class="clearfix">
            <dd>
              <strong></strong>
            </dd>
          </li>
          <!-- {/if} -->
          <!-- {if $goods.goods_brand neq "" and $cfg.show_brand} 显示商品品牌-->
          <li class="clearfix">
            <dd>
              <strong></strong><a th:href="${goods.goods_brand_url}" ></a>
            </dd>
          </li>
          <!--{/if}-->
          <!-- {if $cfg.show_goodsweight} 商品重量-->
          <li class="clearfix">
            <dd>
            <strong></strong>
            </dd>
          </li>
          <!-- {/if} -->
          <li class="clearfix">
            <dd>
            <strong></strong><font class="shop"></font><br />
            </dd>
          </li>
          <!-- 
          <!-- {foreach from=$specification item=spec key=spec_key} 循环规格开始 -->
          <li class="padd loop">
            <strong>:</strong><br />
            <!-- {if $cfg.goodsattr_style eq 1} 规格显示方式：单选按钮 -->
              <!-- {foreach from=$spec.values item=value key=key} -->
                <label for="spec_value_">
                <input type="radio" name="spec_" value="" id="spec_value_" {if $key eq 0}checked{/if} />
                 </label>
              <!-- {/foreach} -->
            <!-- {else} 规格显示方式：下拉列表 -->
              <select name="spec_" style="border:1px solid #ccc;">
              <!-- {foreach from=$spec.values item=value key=key} -->
                <option label="" value=""> </option>
              <!-- {/foreach} -->
              </select>
            <!-- {/if} 规格显示方式 -->
          </li>
          <!-- {/foreach} 循环规格结束 -->
          <!-- 
          <li class="padd">
            <input type="hidden" name="goods_id" value="" />
            <input type="submit" value="" class="bnt_blue_1"/>
          </li>
        </ul>
      </form>
      </div>
    </div>
    <div class="blank"></div>
    <!--商品详情end-->

    <!--商品描述，商品属性 START-->
    <div class="box">
      <div class="box_1">
        <h3 style="padding:0 5px;">
          <div id="com_b" class="history clearfix">
            <h2></h2>
            <h2 class="h2bg"></h2>
          </div>
        </h3>

        <div id="com_v" class="boxCenterList RelaArticle"></div>

        <div id="com_h">
          <blockquote>
            
          </blockquote>

          <blockquote>
            <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#dddddd">
              <!-- {foreach from=$properties item=property_group key=key} -->
              <tr>
                <th colspan="2" bgcolor="#FFFFFF"></th>
              </tr>
              <!-- {foreach from=$property_group item=property} -->
              <tr>
                <td bgcolor="#FFFFFF" align="left" width="30%" class="f1">[]</td>
                <td bgcolor="#FFFFFF" align="left" width="70%"></td>
              </tr>
              <!-- {/foreach}-->
              <!-- {/foreach}-->
            </table>
          </blockquote>
        </div>
      </div>
    </div>

    <script type="text/javascript">
    <!--
    reg("com");
    //-->
    </script>

    <div class="blank"></div>
    <!--商品描述，商品属性 END-->

  </div>
  <!--right end-->
</div>


<div th:replace="common/tpls/page_footer_tpl::page_footer"></div>
</body>

<script type="text/javascript">
<!-- {literal} -->
onload = function()
{
  fixpng();
}
<!-- {/literal} -->
</script>
</html>
